using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SoftDemo.Application.RequetDto;
using SoftDemo.Application.Response;
using SoftDemo.Domain.Entity;

namespace SoftDemo.Application.Common.Interface
{
    public interface IIdentityService
    {
        Task<AppTokenDto> ValidateUserAsync(UserForAuthDto userForAuth);

        Task<AppTokenDto> GenerateToken(AppUser appUser);

        Task<AppTokenDto> RefreshTokenAsync(AppTokenDto appToken);
    }
}